<div class="tableform">
	<h5>栏目设置</h5>
   <div class="widgetconfig division">
		<table width="100%" cellpadding="0" cellspacing="0"> 
		<tr>
			<th width="10%">版块标题：</th>
			<td width="40%"><input type="text" name="title" value="<{$setting.title}>" style="width:200px" class="inputstyle" /></td>
			<th width="10%">可选样式：</th>
			<td width="40%"><label><input type="radio" name="style" value="style1"<{if $setting.style!="style2"}> checked<{/if}> />默认显示所有图片</label>&nbsp;&nbsp;&nbsp;<label><input type="radio" name="style" value="style2"<{if $setting.style=="style2"}> checked<{/if}> />默认显示一张图片</label></td>
		</tr>
		</table>
	</div>
</div>

<div class="tableform">
	<h5>商品筛选</h5>
   <div class="widgetconfig">
	<div class="goods-selector">
		<div class="division"><{input type="goodsfilter"  name="goods_filter" value=$setting.goods_filter}></div>
		<div class="division">排序规则：
			<select name="goods_order_by">
				<{foreach from=$data.goods_order_by item=item}>
				<option value="<{$item.condition}>"<{if $setting.goods_order_by == $item.condition}> selected<{/if}>><{$item.label}></option>
				<{/foreach}>
			</select>
		</div>
	</div>
	</div>
</div>

<div class="tableform">
	<h5>商品展示设定：</h5>
    <div class="division">
    <table width="100%" cellpadding="0" cellspacing="0">
		<tr>
      	 <th width="10%">商品数量：</th>
         <td width="40%"><input type="text" class="inputstyle" style="width:80px" name="limit" value="<{$setting.limit|default:'8'}>"  />&nbsp;&nbsp;高亮前<input type="text" name="showing" value="<{$setting.showing|default:'2'}>" class="inputstyle" style="width:60px">项</td>
		<th>商品标题长度：</th>
		<td><input type="text" name="maxlength" value="<{$setting.maxlength|default:'60'}>" class="inputstyle" style="width:150px" /></td>
		</tr>
		<tr>
			<th width="10%">图片大小：</th>
			<td width="4%">宽：<input type="text" name="width" value="<{$setting.width|default:60}>" style="width:60px" class="inputstyle">px 高：&nbsp;&nbsp;<input type="text" name="height" style="width:60px" value="<{$setting.height|default:60}>" class="inputstyle">px</td>
			<th width="10%">图片比例：</th>
			<td width="40%"><input type="radio" name="resize" value="on" <{if $setting.resize=="on"}> checked<{/if}> /> 强制大小&nbsp;&nbsp;<input type="radio" name="resize" value="off"<{if $setting.resize!="on"}> checked<{/if}> /> 等比缩放</td>
		</tr>
		<tr>
			<th width="10%">显示销售价：</th>
			<td width="40%"><input type="radio" name="showgoodsSalePrice" value="on" <{if $setting.showgoodsSalePrice!="off"}> checked<{/if}>> 是&nbsp;&nbsp;<input type="radio" name="showgoodsSalePrice" value="off" <{if $setting.showgoodsSalePrice=="off"}> checked<{/if}>> 否</td>
			<th width="10%">显示为：</th>        
			<td width="40%"><input type="text" name="salePricetxt" value="<{$setting.salePricetxt}>" class="inputstyle">（可不填）</td>			
		  </tr>
		  <tr>
			<th width="10%">显示市场价：</th>
			<td width="40%"><input type="radio" name="showgoodsMarketPrice" value="on"<{if $setting.showgoodsMarketPrice=="on"}> checked<{/if}>> 是&nbsp;&nbsp;<input type="radio" name="showgoodsMarketPrice" value="off" <{if $setting.showgoodsMarketPrice!="on"}> checked<{/if}>> 否</td>
			<th width="10%">显示为：</th>        
			<td width="40%"><input type="text" name="MarketPricetxt" value="<{$setting.MarketPricetxt}>" class="inputstyle">（可不填）</td>
		  </tr>
		   <tr>
			<th width="10%">显示销量：</th>
			<td width="40%"><input type="radio" name="showbuycount" value="on"<{if $setting.showbuycount=="on"}> checked<{/if}>> 是&nbsp;&nbsp;<input type="radio" name="showbuycount" value="off" <{if $setting.showbuycount!="on"}> checked<{/if}>> 否&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="buycount" value="1"<{if $setting.buycount!="2"}> checked<{/if}> /> 总销量&nbsp;&nbsp;<input type="radio" name="buycount" value="2" <{if $setting.buycount=="2"}> checked<{/if}> /> 周销量&nbsp;&nbsp;</td>
			<th width="10%">提示文字：</th>
			<td width="40%"><input type="text" name="btitle" value="<{$setting.btitle|default:'已售：'}>" class="inputstyle"></td>			
		  </tr>
    </table>
	</div>
	<h5>提示：取决于放置排行挂件的位置宽度，当你选择显示市场价、销量时，需要调整默认的CSS样式及适当加大图片高度，否则前台显示可能欠美观。</h5>
</div>